; pascal OSErr SPBGetRecordingStatus(long inRefNum, short *recordingStatus, short *meterLevel, unsigned long *totalSamplesToRecord, unsigned long *numberOfSamplesRecorded, unsigned long *totalMsecsToRecord, unsigned long *numberOfMsecsRecorded)
; pascal OSErr SPBMillisecondsToBytes(long inRefNum, long *milliseconds)
;
IF ¬ GENERATINGCFM THEN
Macro
_SPBMillisecondsToBytes
dc.w $203C
dc.w $0440
dc.w $0014
dc.w $A800
EndM
ELSE
IMPORT_CFM_FUNCTION SPBMillisecondsToBytes
ENDIF
;
; pascal OSErr SPBBytesToMilliseconds(long inRefNum, long *byteCount)
;
IF ¬ GENERATINGCFM THEN
Macro
_SPBBytesToMilliseconds
dc.w $203C
dc.w $0444
dc.w $0014
dc.w $A800
EndM
ELSE
IMPORT_CFM_FUNCTION SPBBytesToMilliseconds
ENDIF
;
; pascal OSErr SetupSndHeader(SndListHandle sndHandle, short numChannels, UnsignedFixed sampleRate, short sampleSize, OSType compressionType, short baseNote, unsigned long numBytes, short *headerLen)
;
IF ¬ GENERATINGCFM THEN
Macro
_SetupSndHeader
dc.w $203C
dc.w $0D48
dc.w $0014
dc.w $A800
EndM
ELSE
IMPORT_CFM_FUNCTION SetupSndHeader
ENDIF
;
; pascal OSErr SetupAIFFHeader(short fRefNum, short numChannels, UnsignedFixed sampleRate, short sampleSize, OSType compressionType, unsigned long numBytes, unsigned long numFrames)
;
IF ¬ GENERATINGCFM THEN
Macro
_SetupAIFFHeader
dc.w $203C
dc.w $0B4C
dc.w $0014
dc.w $A800
EndM
ELSE
IMPORT_CFM_FUNCTION SetupAIFFHeader
ENDIF
; Sound Input Manager 1.1 and later calls
;
; pascal OSErr ParseAIFFHeader(short fRefNum, SoundComponentData *sndInfo, unsigned long *numFrames, unsigned long *dataOffset)
;
IF ¬ GENERATINGCFM THEN
Macro
_ParseAIFFHeader
dc.w $203C
dc.w $0758
dc.w $0014
dc.w $A800
EndM
ELSE
IMPORT_CFM_FUNCTION ParseAIFFHeader
ENDIF
;
; pascal OSErr ParseSndHeader(SndListHandle sndHandle, SoundComponentData *sndInfo, unsigned long *numFrames, unsigned long *dataOffset)